<template>
    <div style="width: 80vw;height: 300px;">
        <ssmlEditor ref="ssmlEditorRef" @created="onCreated"></ssmlEditor>
    </div>
</template>

<script setup>
// import { h } from 'snabbdom'
import { onBeforeUnmount, ref, shallowRef } from "vue";
// import { IButtonMenu } from '@wangeditor/core'
import { Boot } from "@wangeditor/editor";
import ssmlEditor from "../components/ssmlEditor/index.vue"
const ssmlEditorRef = ref()
const onCreated = ()=>{
    ssmlEditorRef.value.setHtml("<p>hello&nbsp;world! 西藏 999999999999999</p>")
}
</script>

<style>

</style>